<DIV CLASS="log" id="loghistory_div">
##LOGHISTORY##
</DIV>
<script type="text/javascript">
   var logdiv = document.getElementById('loghistory_div');
   logdiv.scrollTop = logdiv.scrollHeight;
</script>
##SDEBUG##